package com.javajavadog.ui.elevation;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.javajavadog.ui.R;
import com.javajavadog.ui.base.FragmentHostActivity;

public class ElevationBasicActivity extends FragmentHostActivity {
    @Override
    public String getTitleText() {
        return "ElevationBasic";
    }

    @Override
    public Fragment getContentFragment() {
        return ElevationBasicFragment.newInstance();
    }

    @Override
    public boolean enableBackButton() {
        return true;
    }

    public static class ElevationBasicFragment extends Fragment {
        public static ElevationBasicFragment newInstance() {
            ElevationBasicFragment f = new ElevationBasicFragment();
            return f;
        }

        @Override
        public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
            return inflater.inflate(R.layout.fragment_elevation_basic, null);
        }

        @Override
        public void onViewCreated(View view, Bundle savedInstanceState) {
            super.onViewCreated(view, savedInstanceState);
        }
    }
}
